package cn.cvs.service;

import cn.cvs.dao.sysSupplier.SupplierMapper;
import cn.cvs.entity.Supplier;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.File;
import java.util.Date;
import java.util.List;
@Service
public class SysSupplierServiceImpl implements SysSupplierService{
    @Autowired
    private SupplierMapper supplierMapper;

    @Override
    public List<Supplier> selectList(String var1, String var2, Integer var3, Integer var4) throws Exception {
        int pageBegin = (var3 - 1) * var4;
        return this.supplierMapper.selectList(var1, var2, pageBegin, var4);
    }

    @Override
    public int selectCount(String var1, String var2) throws Exception {
        return this.supplierMapper.selectCount(var1, var2);
    }
}
